home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 18328 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.4 KB  |  30 lines

  1. Newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++,comp.edu
  2. Path: in1.uu.net!world!bobduff
  3. From: bobduff@world.std.com (Robert A Duff)
  4. Subject: Re: ANSI C and POSIX (was Re: C/C++ knocks the crap out of Ada)
  5. Message-ID: <Dq4vpD.161@world.std.com>
  6. Organization: The World Public Access UNIX, Brookline, MA
  7. References: <JSA.96Feb16135027@organon.com> <829194658snz@tsys.demon.co.uk> <DppsHq.1Ar@world.std.com> <01bb2dcf.e0201620$c6c2b7c7@Zany.localhost>
  8. Date: Fri, 19 Apr 1996 23:53:37 GMT
  9.  
  10. In article <01bb2dcf.e0201620$c6c2b7c7@Zany.localhost>,
  11. Bradd W. Szonye  <bradds@ix.netcom.com> wrote:
  12. >Pardon me if this sounds silly, but...
  13. >You shouldn't have to rely on the documentation to make up for a lack of
  14. >common sense.
  15.  
  16. Well, sorry, but it *does* sound pretty silly, to me.  Anybody who's
  17. been around computer software for a while knows pretty well that
  18. predicting what software does from some vague notion of "common sense"
  19. is impossible.
  20.  
  21. For example, common sense might tell you that function arguments are
  22. evaluated from left to right.  Not true in C, not true in Ada, not true
  23. in C++ (there, I made it relevant to all these newsgroups, in case
  24. anyone's still listening ;-) ).  These languages all go *against* common
  25. sense (for obscure efficiency reasons, of course).  In this case, if you
  26. rely on common sense, instead of reading the language standard, you'll
  27. get into deep trouble.
  28.  
  29. - Bob
  30.